package com.entity;


import com.util.DateHelp;

public class Comment {

	
	private String id;
	private String message;
	private String createTime;
	private String ideaid;
	private Idea idea;
	private String userid;
	private User user;
	private String documentid;
	private Document document;
	private String trendid;
	private Trend trend;
	private Contact contact;
	private String contactid;
	
	public String getTime(){
		return DateHelp.showTime(this.getCreateTime());
	}
	public String getContactid() {
		return contactid;
	}
	public void setContactid(String contactid) {
		this.contactid = contactid;
	}
	public Contact getContact() {
		return contact;
	}
	public void setContact(Contact contact) {
		this.contact = contact;
	}
	public Idea getIdea() {
		return idea;
	}
	public void setIdea(Idea idea) {
		this.idea = idea;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Document getDocument() {
		return document;
	}
	public void setDocument(Document document) {
		this.document = document;
	}
	public Trend getTrend() {
		return trend;
	}
	public void setTrend(Trend trend) {
		this.trend = trend;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getIdeaid() {
		return ideaid;
	}
	public void setIdeaid(String ideaid) {
		this.ideaid = ideaid;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	public String getDocumentid() {
		return documentid;
	}
	public void setDocumentid(String documentid) {
		this.documentid = documentid;
	}
	public String getTrendid() {
		return trendid;
	}
	public void setTrendid(String trendid) {
		this.trendid = trendid;
	}
	

}
